package com.example.pipibee.dao.repository.imp;

import com.example.pipibee.dao.mapper.MrMapper;
import com.example.pipibee.dao.repository.MrRepository;
import com.example.pipibee.pojo.param.UpLoadParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Slf4j
@Repository
public class MrRepositoryImp implements MrRepository {

    @Autowired
    MrMapper mrMapper;

    @Override
    public int upload(UpLoadParam upLoadParam) {
        log.debug("开始执行【文件上传】的数据访问，参数：{}", upLoadParam);
        return mrMapper.upload(upLoadParam);
    }

}
